package org.jeecg.modules.demo.zc.carCost.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("CAR_COST")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CarCost对象", description="CarCost")
public class CarCost implements Serializable {
    private static final long serialVersionUID = 1L;

    /**车辆id*/
    @Excel(name = "车辆id", width = 15)
    @ApiModelProperty(value = "车辆id")
//    @Dict(dicCode = "reg_regType")
    private Integer carId;
    /**车牌号*/
    @Excel(name = "车牌号", width = 15)
    @ApiModelProperty(value = "车牌号")
    private String plateNumber;
    /**组织机构id*/
    @Excel(name = "组织机构id", width = 15)
    @ApiModelProperty(value = "组织机构id")
    private Integer orgId;
    /**组织机构编码*/
    @Excel(name = "组织机构编码", width = 15)
    @ApiModelProperty(value = "组织机构编码")
    private String orgCode;
    /**组织机构名称*/
    @Excel(name = "组织机构名称", width = 15)
    @ApiModelProperty(value = "组织机构名称")
    private String orgName;
    /**任务id*/
    @Excel(name = "任务id", width = 15)
    @ApiModelProperty(value = "任务id")
    private Integer taskId;

    /**停车费*/
    @Excel(name = "停车费", width = 15)
    @ApiModelProperty(value = "停车费")
    private Double parkingFee;
    /**高速费*/
    @Excel(name = "高速费", width = 15)
    @ApiModelProperty(value = "高速费")
    private Double highSpeedFee;
    /**路桥费*/
    @Excel(name = "路桥费", width = 15)
    @ApiModelProperty(value = "路桥费")
    private Double tollFee;
    /**燃油费*/
    @Excel(name = "燃油费", width = 15)
    @ApiModelProperty(value = "燃油费")
    private Double fuelFee;
    /**充电费*/
    @Excel(name = "充电费", width = 15)
    @ApiModelProperty(value = "充电费")
    private Double chargingFee;
    /**其他费用*/
    @Excel(name = "其他费用", width = 15)
    @ApiModelProperty(value = "其他费用")
    private Double otherFee;
    /**用车费用总计*/
    @Excel(name = "用车费用总计", width = 15)
    @ApiModelProperty(value = "用车费用总计")
    private Double reportFee;
    /**保险费*/
    @Excel(name = "保险费", width = 15)
    @ApiModelProperty(value = "保险费")
    private Double insureFee;
    /**维修费*/
    @Excel(name = "维修费", width = 15)
    @ApiModelProperty(value = "维修费")
    private Double repairFee;
    /**保养费*/
    @Excel(name = "保养费", width = 15)
    @ApiModelProperty(value = "保养费")
    private Double maintainFee;
    /**违章费*/
    @Excel(name = "违章费", width = 15)
    @ApiModelProperty(value = "违章费")
    private Double violationAmount;
    /**年检费*/
    @Excel(name = "年检费", width = 15)
    @ApiModelProperty(value = "年检费")
    private Double motCheckFee;
    /**合计*/
    @Excel(name = "合计", width = 15)
    @ApiModelProperty(value = "合计")
    @TableField(exist = false)
    private Double totalFee;

    /**创建时间*/
    @Excel(name = "创建时间", width = 15)
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(timezone ="GMT+8",pattern ="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**上级机构*/
    @Excel(name = "上级机构", width = 15)
    @ApiModelProperty(value = "上级机构")
    private String orgMgrName;

}
